package com.qf.feign;

import com.qf.entity.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 你的名字
 * @Date: 2021/07/14/9:58
 * @Description:
 */
@FeignClient(name = "goods",path = "/goods")
public interface GoodService {
    @RequestMapping("/list")
    public List<Goods> list();
}
